c49459b0c06400d957de7845c2ecfcffd31b3505,plugins/android-designer/src/com/intellij/android/designer/designSurface/layout/FrameLayoutMarginOperation.java,FrameLayoutMarginOperation,points,#ResizeSelectionDecorator#,54
Before Change
decorator.addPoint(new DirectionResizePoint(Color.orange, Color.black, Position.WEST, TYPE)); // left
decorator.addPoint(new DirectionResizePoint(Color.orange, Color.black, Position.EAST, TYPE).move(1, 0.25)); // right
decorator.addPoint(new DirectionResizePoint(Color.orange, Color.black, Position.NORTH, TYPE)); // top
decorator.addPoint(new DirectionResizePoint(Color.orange, Color.black, Position.SOUTH, TYPE).move(0.25, 1)); // bottom
}
public static boolean visible(RadComponent component, DirectionResizePoint point) {
After Change
}
});
decorator.addPoint(
new DirectionResizePoint(Color.orange, Color.black, Position.SOUTH, FrameLayoutMarginOperation.TYPE) { // bottom
@Override
protected Point getLocation(DecorationLayer layer, RadComponent component) {
Point location = super.getLocation(layer, component);
location.y += getMargin(component, "bottomMargin");
return location;
}
}.move(0.25, 1));
}
private static void applyMargins(Rectangle bounds, Rectangle margins) {